<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/WEB-INF/jsp/backoffice/common/header.jsp"%>

<script type="text/javascript">
	$().ready(function() {
	  $("#modifyTransmitter").validate({
	    submitHandler:function(form){
	      form.submit();
	    }
	  });
	 });
</script>
<div class="MainDiv">
	<s:form id="modifyTransmitter" action="modifyTransmitter" namespace="/backoffice/transmitter" method="post">
		<s:hidden name="transmitter.transmitterId"></s:hidden>
		<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
			<tr>
				<th class="tablestyle_title">修改电台</th>
			</tr>
			<tr>
				<td class="CPanel">
					<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
						<TR>
							<TD width="100%">
								<fieldset style="height:100%;">
									<legend>修改电台</legend>
									<table border="0" cellpadding="2" cellspacing="1" style="width:100%">
										<tr>
											<td nowrap align="right" width="11%">名称:</td>
											<td width="27%">
												<s:textfield name="transmitter.name" cssClass="required"></s:textfield>
											</td>
	
											<td align="right" width="25%">&nbsp;</td>
											<td width="37%">&nbsp;</td>
										</tr>
										<tr>
											<td nowrap align="right" width="11%">目的地:</td>
											<td width="89%">
												<s:select list="#request.contientAreas" listKey="areaid" listValue="name" headerKey="" headerValue="--请选择--" onchange="showChildAreaPlace(this, 'g', 'parentid', '');"/>
												<select id="parentid" name="parentid" onchange="showChildAreaPlace(this, 's', 'areaid', '');"> 
												</select>
												<select id="areaid" name="transmitter.areaid"> 
												</select>
											</td>
											<td align="right" width="25%">&nbsp;</td>
											<td width="37%">&nbsp;</td>
										</tr>
										
										<tr>
											<td nowrap align="right" width="11%">mms:</td>
											<td width="27%">
												<s:textfield name="transmitter.mms" ></s:textfield>
											</td>
	
											<td align="right" width="25%">&nbsp;</td>
											<td width="37%">&nbsp;</td>
										</tr>
										
										<tr>
											<td nowrap align="right" width="11%">赫兹:</td>
											<td width="27%">
												<s:textfield name="transmitter.hertz" ></s:textfield>
											</td>
	
											<td align="right" width="25%">&nbsp;</td>
											<td width="37%">&nbsp;</td>
										</tr>
									</table>
									<br />
								</fieldset>
								</TD>
						</TR>
					</TABLE></td>
			</tr>
	
			<tr>
				<td colspan="2" align="center" height="50px">
					<input type="submit" name="submit" value="提交" class="button" /> 
				</td>
			</tr>
		</table>
	</s:form>

</div>

<%@ include file="/WEB-INF/jsp/backoffice/common/bottom.jsp"%>

